#ifndef GRAPH_H
#define GRAPH_H

#include"expmonth.h"
#include <QMainWindow>
#include<QtSql/QSqlDatabase>

namespace Ui {
    class Graph;
}

class Graph : public QMainWindow
{
    Q_OBJECT

public:
    explicit Graph(int yy,QWidget *parent = 0);
    ~Graph();

private:
    Ui::Graph *ui;
    int year;
    QSqlDatabase db;
    void plotGraph();
private slots:
    void back();
};

#endif // GRAPH_H
